package com.wuye.dao;

import java.util.List;
import java.util.Map;

import com.wuye.common.dao.Dao;
import com.wuye.common.vo.CommonObjectVO;
import com.wuye.common.vo.PageInfo;
import com.wuye.common.vo.ParkingSearchVO;
import com.wuye.common.vo.ParkingUpdateInfo;
import com.wuye.common.vo.StatVO;
import com.wuye.entity.Parking;

public interface ParkingDao extends Dao 
{

	PageInfo getParkingType(Map<String, Object> map, int currentPage,
			int perPageNum);

	PageInfo getParking(Map<String, Object> map, int currentPage,
			int perPageNum);
	
	public void addParking(Parking parking) throws Exception;
	public void updateParking(Parking parking) throws Exception;
	public void delParking(int parkingId) throws Exception; 
	public Parking getParking(int parkingId) throws Exception;
	public CommonObjectVO getParkingInfo(Map<String, Object> map) throws Exception;
	public List<ParkingSearchVO> getParkingSearchInfo(Map<String, Object> map);
	public StatVO getParkingSearchStats(Map<String, Object> map);
	public ParkingUpdateInfo getParkingUpdateInfo(int parkingId);

	PageInfo getBuildingType(Map<String, Object> map, int currentPage,
			int perPageNum);



}
